import request from '@/utils/request'

export function allAttribute(query) {
  return request({
    url: '/api/adminthymeleaf/qrGoodsAttributes/list',
    method: 'get',
    params: query
  })
}

export function add(obj) {
  return request({
    url: '/api/adminthymeleaf/qrGoodsAttributes/add',
    method: 'post',
    data: obj
  })
}

export function update(obj) {
  return request({
    url: '/api/adminthymeleaf/qrGoodsAttributes/update',
    method: 'post',
    data: obj
  })
}

export function deleteObj(obj) {
  return request({
    url: '/api/adminthymeleaf/qrGoodsAttributes/delete',
    method: 'post',
    data: obj
  })
}

